<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/layui/css/layui.css">
</head>

<body>
    <table class="layui-table" cellspacing="0" cellpadding="0" border="0">
        <thead>
            <tr>
                <th>收款明细单编号</th>
                <th>状态</th>
                <th>订单编号</th>
                <th>税费单号</th>
                <th>应收金额/元</th>
                <th>实收金额/元</th>
                <th>银行流水号</th>
                <th>付款帐户</th>
                <th>收款帐户</th>
                <th>经手人</th>
                <th>备注</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            <tr th:each="cash:${cashes}">
                <td th:text="${cash.id}"></td>
                <td th:text="${cash.status}"></td>
                <td th:text="${cash.costid}"></td>
                <td th:text="${cash.taxid}"></td>
                <td th:text="${cash.fee}"></td>
                <td th:text="${cash.money}"></td>
                <td th:text="${cash.cashid}"></td>
                <td th:text="${cash.account_from}"></td>
                <td th:text="${cash.account_to}"></td>
                <td th:text="${cash.staff}"></td>
                <td th:text="${cash.note}"></td>
                <td>
                    <form class="form-horizontal" role="form" action="./edit" method="POST">
                        <input type="hidden" name="id" th:value=${cash.id}>
                        <input type="hidden" name="status" value="4">
                        <button type="submit" class="layui-btn layui-btn-sm">编辑</button>
                    </form>
                </td>
            </tr>
        </tbody>
    </table>

    <script src="/layui/layui.js"></script>

</body>

</html>